Centroid Interface

public interface Centroid

Module Procedures

private subroutine CentroidGridReal(grid, ccoord)

returns the coordinate of the centroid given a grid_integer mask, in the same coordinate reference system of grid_integer

Arguments

Type IntentOptional Attributes Name
type(grid_real), intent(in) :: grid

input grid

type(Coordinate), intent(out) :: ccoord

coordinate of computed centroid

private subroutine CentroidGridInteger(grid, ccoord)

returns the coordinate of the centroid given a grid_integer mask, in the same coordinate reference system of grid_integer

Arguments

Type IntentOptional Attributes Name
type(grid_integer), intent(in) :: grid

input grid

type(Coordinate), intent(out) :: ccoord

coordinate of computed centroid